package com.zhou.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Table(name = "register")
public class Register implements Serializable {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;  //id
    private String name; //服务名称
    private String ip;  //IP地址
    private String port; //端口号
    private String status; //最后一次心跳状态时间
}
